Meteor.methods
	sendSMS:(sms) ->
		smsurl = "http://106.ihuyi.cn/webservice/sms.php?method=Submit&account=cf_mingdao&password=mingdao123&mobile=13813921633&content=http://106.ihuyi.cn/webservice/sms.php?method=Submit&account=cf_mingdao&password=mingdao123&mobile=13813921633&content=欢迎登陆Wifire热点！您的无线上网密码为【"+sms+"】。如非本人
						操作，可不用理会。"
		HTTP.call 'GET',smsurl, ->
		console.log 'sended the message'
